home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / images / bevel.h next >
Encoding:
C/C++ Source or Header  |  1999-10-29  |  4.1 KB  |  132 lines

  1. #ifndef IMAGES_BEVEL_H
  2. #define IMAGES_BEVEL_H
  3. /*
  4. **    $VER: bevel.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the bevel.image BOOPSI class
  8. **
  9. **    (C) Copyright 1987-1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15. #ifndef REACTRION_REACTION_H
  16. #include <reaction/reaction.h>
  17. #endif
  18.  
  19. #ifndef INTUITION_IMAGECLASS_H
  20. #include <intuition/imageclass.h>
  21. #endif
  22.  
  23. /*****************************************************************************/
  24.  
  25. #define BEVEL_Dummy            (REACTION_Dummy + 0x16000)
  26.  
  27. #define BEVEL_Style            (BEVEL_Dummy+1)
  28.     /* (USHORT) Selected bevel style, see BEVEL_* defines below */
  29.  
  30. #define BEVEL_Label            (BEVEL_Dummy+3)
  31.     /* (UBYTE *) Label text, usually for button or group box labels */
  32.  
  33. #define BEVEL_LabelImage    (BEVEL_Dummy+4)
  34.     /* (struct Image *) Unsupported label image */
  35.  
  36. #define BEVEL_LabelPlace    (BEVEL_Dummy+5)
  37.     /* (UBYTE) Label placement, see BVJ_* defines below */
  38.  
  39. #define BEVEL_InnerTop        (BEVEL_Dummy+6)
  40.     /* (ULONG) (OM_GET) - render offset not included */
  41.  
  42. #define BEVEL_InnerLeft        (BEVEL_Dummy+7)
  43.     /* (ULONG) (OM_GET) - render offset not included */
  44.  
  45. #define BEVEL_InnerWidth    (BEVEL_Dummy+8)
  46.     /* (ULONG) (OM_GET) - inner bevel area size */
  47.  
  48. #define BEVEL_InnerHeight    (BEVEL_Dummy+9)
  49.     /* (ULONG) (OM_GET) - inner bevel area size */
  50.  
  51. #define BEVEL_HorizSize        (BEVEL_Dummy+10)
  52.     /* (ULONG) (OM_GET) - bevel line thickness */
  53. #define BEVEL_HorzSize  BEVEL_HorizSize
  54.     /* OBSOLETE, use BEVEL_HorizSize instead */
  55.  
  56. #define BEVEL_VertSize        (BEVEL_Dummy+11)
  57.     /* (ULONG) (OM_GET) - bevel line thickness */
  58.  
  59. #define BEVEL_FillPen        (BEVEL_Dummy+12)
  60.     /* (WORD) (OM_NEW/OM_SET) - optional inner bevel fill */
  61.  
  62. #define BEVEL_FillPattern    (BEVEL_Dummy+13)
  63.     /* (UWORD *) (OM_NEW/OM_SET) - optional fill pattern for inner fill/disable */
  64.  
  65. #define BEVEL_TextPen        (BEVEL_Dummy+14)
  66.     /* (WORD) (OM_NEW/OM_SET) - optional text pen color */
  67.  
  68. #define BEVEL_Transparent    (BEVEL_Dummy+15)
  69.     /* (WORD) (OM_NEW/OM_SET) - disable inner bevel fill/erase modes */
  70.  
  71. #define BEVEL_SoftStyle        (BEVEL_Dummy+16)
  72.     /* (WORD) (OM_NEW/OM_SET) - Text SoftStyle */
  73.  
  74. #define BEVEL_ColorMap        (BEVEL_Dummy+17)
  75. #define BEVEL_ColourMap    BEVEL_ColorMap
  76.     /* (struct ColorMap *) (OM_NEW/OM_SET) - Screen ViewPort ColorMap
  77.      * This required tag is for proper BVS_BUTTON xen shadow pen selection */
  78.  
  79. #define BEVEL_Flags            (BEVEL_Dummy+18)
  80.     /* (UWORD) (OM_NEW/OM_SET) Intentionally left undocumented! */
  81.  
  82. /*****************************************************************************/
  83.  
  84. /* Bevel Box Styles for BEVEL_Style
  85.  */
  86. #define BVS_THIN        0    /* Thin (usually 1 pixel) bevel. */
  87. #define BVS_BUTTON        1    /* Standard button bevel. */
  88. #define BVS_GROUP        2    /* Group box bevel. */
  89. #define BVS_FIELD        3    /* String/integer/text field bevel. */
  90. #define BVS_NONE        4    /* No not render any bevel. */
  91. #define BVS_DROPBOX        5    /* Drop box area. */
  92. /*
  93.  * You may think it is very stupid to name the vertical bar BVS_SBAR_HORIZ
  94.  * and the horizontal bar BVS_SBAR_VERT. The reason for this is:
  95.  * The vertical bar is mostly used as a seperator in horizontal groups and the
  96.  * horizontal bar is used as a seperator in vertical groups.
  97.  *
  98.  * Another explanation: It was simply a mistake when defining the names the
  99.  * first time.
  100.  */
  101. #define BVS_SBAR_HORIZ    6    /* Vertical bar. */
  102. #define BVS_SBAR_VERT    7    /* Horizontal bar. */
  103. #define BVS_BOX            8    /* Typically, thin black border. */
  104. #define BVS_STANDARD    11    /* Same as BVS_BUTTON but will not support XEN */
  105.  
  106. #define BVS_SBAR_HORZ    BVS_SBAR_HORIZ    /* OBSOLETE SPELLING */
  107.  
  108. /* The following bevel types are not implemented yet
  109.  */
  110. #define BVS_FOCUS        9    /* Typically, the border for drag&drop target. */
  111. #define BVS_RADIOBUTTON 10  /* (not implemented) radiobutton bevel. */
  112.  
  113. /* BEVEL_Flags - CURRENTLY PRIVATE!!
  114.  */
  115. #define BFLG_XENFILL    0x01
  116. #define BFLG_TRANS        0x02
  117.  
  118. /* Bevel Box Locations for BEVEL_LabelPlace.  Typically used to label a group
  119.  * box, or to be utilized via a button or status gadgets.
  120.  */
  121. #define BVJ_TOP_CENTER    0
  122. #define BVJ_TOP_LEFT    1
  123. #define BVJ_TOP_RIGHT    2
  124. #define BVJ_IN_CENTER    3
  125. #define BVJ_IN_LEFT        4
  126. #define BVJ_IN_RIGHT    5
  127. #define BVJ_BOT_CENTER    6
  128. #define BVJ_BOT_LEFT    7
  129. #define BVJ_BOT_RIGHT    8
  130.  
  131. #endif /* IMAGES_BEVEL_H */
  132.